﻿#ifndef BACKGROUNDIMAGEDIALOG_H
#define BACKGROUNDIMAGEDIALOG_H

#include "components/FWidgets/Base/FDialog.h"

namespace Ui {
class BackgroundImageDialog;
}

class BackgroundImageDialog : public FDialog
{
    Q_OBJECT

public:
    explicit BackgroundImageDialog(QWidget *parent = nullptr);
    ~BackgroundImageDialog();

protected:
    void initView();

private slots:

    void on_btnBrowse_clicked();

    void on_btnPreview_clicked();

    void on_btnApply_clicked();

    void on_btnCancel_clicked();

    void on_btnReset_clicked();

    void on_btnClear_clicked();

private:
    Ui::BackgroundImageDialog *ui;
    QString m_imgPath;
};

#endif // BACKGROUNDIMAGEDIALOG_H
